package edu.towson.cosc.cosc455.pcoughlin.markdowncompiler;

import edu.towson.cosc.cosc455.interfaces.SyntaxAnalyzer;

public class MySyntaxAnalyzer implements SyntaxAnalyzer {

	private MyLexicalAnalyzer lexer;
	@Override
	public void document() throws CompilerException {

		if(Compiler.token.equalsIgnoreCase("#Start Document"))
		{
			String message = "A #Start Document annotation was expected when a " +
					Compiler.token + " was found ";
			throw new CompilerException(message);
		}
		
		lexer.getNextToken();
		/*
		body();
		
		if(Compiler.token.equalsIgnoreCase("#End Document"))
		{
			String message = "A #End Document annotation was expected when a " +
					Compiler.token + " was found ";
			throw new CompilerException(message);
		}*/

	}
	
	public void body() throws CompilerException {
		
	}

	@Override
	public void head() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void title() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void paragraph() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void bold() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void italics() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void list() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void item() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void audio() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void video() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void define() throws CompilerException {
		// TODO Auto-generated method stub

	}

	@Override
	public void use() throws CompilerException {
		// TODO Auto-generated method stub

	}

}
